ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 11 - No. 29)

What is the primary difference between procedures and functions?
Functions always return a value, while procedures do not.
Procedures always return a value, while functions do not.
Functions can't take parameters.
Procedures are not reusable.

Giải thích

The key distinction is the return value; functions always return one, while procedures may or may not.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc